import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class test {
    public static void main(String[] args) throws ParseException {
        String transform = "E MMM dd HH:mm:ss z yyyy";
        String str = "Thu Nov 21 10:56:26 CST 2024";
        Date date = new SimpleDateFormat(transform).parse(str);
        System.out.println(date);
    }
}
